<template>
  <div>
    <el-container class="layout-body">
      <el-header height="150">
        <div style="width: 1200px;margin: 0 auto;line-height: 80px">
          <img src="imgs/logo.png" style="width: 300px;vertical-align: middle" alt=""><!--更换图片-->
          <span>
                    <a href="">首页</a><el-divider direction="vertical"></el-divider>
                    <a href="">热点资讯</a><el-divider direction="vertical"></el-divider>
                    <a href="">商家入驻</a><el-divider direction="vertical"></el-divider><!--更换主页菜单-->
                    <a href="">社会招聘</a><el-divider direction="vertical"></el-divider>
                    <a href="">校园招聘</a><el-divider direction="vertical"></el-divider>
                    <a href="">帮助</a>
                    <a href="/login.html" style="margin-left: 370px">用户登录</a>
                </span>
        </div>
        <!--导航菜单开始-->
        <div style="background-color: #82c8ec">
          <el-menu style="width: 1200px;margin: 0 auto"
                   :default-active="1"
                   class="el-menu-demo"
                   mode="horizontal"
                   @select="handleSelect"
                   background-color="#82c8ec"
                   text-color="#fff"
                   active-text-color="#fff">
            <el-menu-item v-for="b in bookTypeArr" :index="b.id">{{b.name}}</el-menu-item>
            <div style="float: right;margin-top: 10px;margin-right: 27px">
              <el-input placeholder="请输入搜索内容">
                <el-button slot="append" icon="el-icon-search"></el-button>
              </el-input>
            </div>
          </el-menu>
        </div>
        <!--导航菜单结束-->
      </el-header>
      <el-main style="width: 1300px;margin: 0 auto">
        <router-view/>
      </el-main>
      <el-footer>
        <div style="height: 95px;background-image: url('imgs/page_ad.jpg')"></div>
        <div style="height: 100px;background-color: #3f3f3f;padding: 30px 0;
                        text-align: center;color: #b1b1b1">
          <p>Copyright © 北京达内金桥科技有限公司版权所有 京ICP备12003709号-3 京公网安备 11010802029572号</p>
          <p>涵盖20余门课程体系，致力于打造权威的IT职业教育学习平台</p>
          <p>达内在线WWW.TMOOC.CN 专注于IT职业技能培训</p>
        </div>
      </el-footer>
    </el-container>
  </div>
</template>


<script>
export default {
  data() {
    return {

    }
  },
  methods: {

  }
}
</script>


<style>
header a{
  text-decoration: none;
  color: #6c6c6c;
}

.el-main a:hover{
  color: #666;
}

.layout-body {
  position: absolute;
  top:0;
  bottom: 0;
  left: 0;
  right: 0;
}
</style>